package mvn56.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import mvn56.dao.UserDao;
import mvn56.model.User;

@Repository
public class UserDaoImpl implements UserDao{
	@Autowired
	private User user;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	public void addUser() {
		System.out.println("将数据添加到SQLServer数据中");
		user.showInfo();
	}

}
